package com.spring.security.web.model;

public class SsoLogs {
	private String className;
	private String actionName;
	private String token;
	private String userId;
	private Long startTime;
	private Long endTime;
	private Long useTime;
	private String errorInfo;
	private String request_ip;
	public SsoLogs(String className){
		this.className = className;
	}
	
	public void setLog(String actionName,
						String token,
						String userId,
						Long startTime,
						Long endTime,
						Long useTime,
						String errorInfo,
						String request_ip){
		this.actionName = actionName;
		this.token = token;
		this.userId = userId;
		this.startTime = startTime;
		this.endTime = endTime;
		this.useTime = useTime;
		this.errorInfo = errorInfo;
		this.request_ip = request_ip;
	}
	
	public String getRequest_ip() {
		return request_ip;
	}
	public void setRequest_ip(String request_ip) {
		this.request_ip = request_ip;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getActionName() {
		return actionName;
	}
	public void setActionName(String actionName) {
		this.actionName = actionName;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public Long getStartTime() {
		return startTime;
	}
	public void setStartTime(Long startTime) {
		this.startTime = startTime;
	}
	public Long getEndTime() {
		return endTime;
	}
	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}
	public Long getUseTime() {
		return useTime;
	}
	public void setUseTime(Long useTime) {
		this.useTime = useTime;
	}
	public String getErrorInfo() {
		return errorInfo;
	}
	public void setErrorInfo(String errorInfo) {
		this.errorInfo = errorInfo;
	}
}
